cd /d "%~dp0"
powershell -c "set-executionpolicy unrestricted"
for /f %%p in ('powershell .\getLocalResource.ps1 Git') do set GITPATH=%%p

7za x PortableGit-1.7.4-preview20110204.7z -y -o"%GITPATH%"

echo y| cacls "%GITPATH%" /grant everyone:f /t

exit /b 0